package utils;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;
import java.net.URL;

public class DownFilesUtil {
    public static void main(String[] args) throws IOException {
        File realFile = new File("D:/a.jpg");
        URL url = new URL("http://ceph.whlocal.com:8080/bos-dev-wh-dmpback/bizProcess/69a57ca556294d62ae57a0935cc11f0d");
        url = new URL("http://ceph.whlocal.com:8080/bos-dev-wh-dmpback/bizProcess/e1077c8ba54943a8bc0ae1e23d75961e");
        FileUtils.copyURLToFile(url, realFile);
        FileUtils.copyURLToFile(url, realFile);
    }
}
